package vendas.business;

import gminet.infra.business.BusinessException;
import gminet.infra.business.BusinessObject;

import java.util.List;

import vendas.dto.SellerType;


/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class SellerTypeBusiness extends BusinessObject {

    public static SellerType findByPK(int typeId) throws BusinessException {

        return SellerType.getSellerTypeById(typeId);
    }

    public static List<SellerType> findAll() {

        return SellerType.getList();
    }

}
